package com.gm.model.po;

/**
 * Created by taojie on 17-6-6.
 * 系统角色
 */
public class Role {

    //角色表
    private int id;
    //角色名
    private String name;
    //权限s
    private String rights;
    //角色状态
    private int status;
    //创建时间
    private long createTime;
    //更新时间
    private long updateTime;

    public Role() {
    }

    public Role(String name, String rights, int status, long createTime, long updateTime) {
        this.name = name;
        this.rights = rights;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRights() {
        return rights;
    }

    public void setRights(String rights) {
        this.rights = rights;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
}
